package ebuy.com.server.imp;

import ebuy.com.dao.Easybuy_newsdao;
import ebuy.com.pojo.Easybuy_news;
import ebuy.com.server.Easybuy_newsserer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Transactional
@Service
public class Easybuy_newssererimp implements Easybuy_newsserer {
    @Autowired
    private Easybuy_newsdao easybuy_newsdao;
    @Override
    public List<Easybuy_news> Checknews() {
        return easybuy_newsdao.Checknews();
    }
}
